//
//  ViewController.m
//  CycleBaseControl
//
//  Created by ddy on 2018/8/14.
//  Copyright © 2018年 cycle. All rights reserved.
//

#import "ViewController.h"
#import "CycleBaseClass.h"
#import "nextViewController.h"
@interface ViewController ()<UIAlertViewDelegate>

@end

@implementation ViewController

- (void)cycle_viewDidDisAppear {
    NSLog(@"cycle_viewDidDisAppear");
}

- (void)cycle_viewWillDisAppear {
    NSLog(@"cycle_viewWillDisAppear");
}
- (void)cycle_getNewDataFromViewDidAppear {
    NSLog(@"cycle_getNewDataFromViewDidAppear");
}
- (void)cycle_getNewDataFromViewDidLoad {
    NSLog(@"cycle_getNewDataFromViewDidLoad");
}
- (void)cycle_getNewDataFromViewWillAppear {
    NSLog(@"cycle_getNewDataFromViewWillAppear");
}
- (void)cycle_setNavgation {
    NSLog(@"cycle_setNavgation");
}
- (void)cycle_addSubViews {
    NSLog(@"cycle_addSubViews");
}




//跳转到下一个控制器
- (IBAction)nextClick:(id)sender {
    nextViewController *next = [nextViewController new];
    [self.navigationController pushViewController:next animated:YES];
}

//-(void)viewDidLoad {
//    [super viewDidLoad];
//    [[[UIAlertView alloc]initWithTitle:@"提示" message:@"alert废弃了" delegate:self cancelButtonTitle:@"取消" otherButtonTitles:@"确定", nil]show];
//}
//- (void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex {
//    NSLog(@"%zd",buttonIndex);
//}










@end
